Page({
  data: {
    loading: true,
    data: []
  },
  onLoad(options) {
    // 给data赋予空数组,实现骨架屏
    this.setData({
      data: [{},{},{},{}]
    })
    const data = [{
        tagName: '唯美',
        tagColor: 'blue',
        light: true,
        title: "嗷呜1~",
        name: "LeeYaMaster",
        image: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/小清新图片/1.jpg",
        avatar: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/1.jpg",
        time: "哦嗨哟 sama"
      },
      {
        tagName: '唯美',
        tagColor: 'blue',
        light: true,
        title: "嗷呜2~",
        name: "LeeYaMaster",
        image: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/小清新图片/2.jpg",
        avatar: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/1.jpg",
        time: "哦嗨哟 sama"
      },
      {
        tagName: '唯美',
        tagColor: 'blue',
        light: true,
        title: "嗷呜3~",
        name: "LeeYaMaster",
        image: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/小清新图片/3.jpg",
        avatar: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/1.jpg",
        time: "哦嗨哟 sama"
      },
      {
        tagName: '唯美',
        tagColor: 'blue',
        light: true,
        title: "嗷呜4~",
        name: "LeeYaMaster",
        image: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/小清新图片/4.jpg",
        avatar: "cloud://could-3gpmtjxfc5eed68f.636f-could-3gpmtjxfc5eed68f-1304798122/1.jpg",
        time: "哦嗨哟 sama"
      }
    ];
    // 模拟请求
    setTimeout(() => {
      this.setData({
        data,
        loading: false,
      })
    }, 2000)
  },
})